-- GENERATED SPELL FOR [Ravasaur Matriarch] --


function spell0_6581(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6581', 15000, 1)
end

function Sorts_6581(pUnit, Event)
local choix_sorts_6581 = math.random(0, 0)
if choix_sorts_6581 == 0 then
pUnit:RegisterEvent('spell0_6581', 1, 1)
end
end

function mob6581_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6581', math.random(1500, 3000), 1)
end

function mob6581_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6581_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6581_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6581, 1, 'mob6581_Action')
RegisterUnitEvent(6581, 2, 'mob6581_Leave')
RegisterUnitEvent(6581, 3, 'mob6581_Kill')
RegisterUnitEvent(6581, 4, 'mob6581_Die')
